/* WrapperTest.java 
* Created on Nov 30, 2012 
*@Author: Mr.Viet 
*@Phone: 01683430426 
*@Email: phamvanvietcdhd@gmail.com
*/ 
package com.session4; 

import java.util.Enumeration;
import java.util.Properties;

public class WrapperTest {
	public static void main(String[] args) {
		Float f = Float.valueOf("  12332  "); 
		Integer i = Integer.parseInt("321");
		System.out.println(f);
		System.out.println(i);
		System.err.print("Loi Roi");
		
		String ver = System.getProperty("java.class.version");
		System.out.println(ver);
//		Doc Tat Ca Cac Properties
//		Enumeration<Object> p = System.getProperties().keys();
//		Properties p1 = System.getProperties();
//		while(p.hasMoreElements()){
//			String key = p.nextElement().toString();
//			String value = p1.get(key).toString();
//			System.out.println(key + "=" + value);
//		}
//		Phuong Thuc So Sanh String
		String str1 = "Mr.Viet";
		String str2 = "mr.viet";
		if(str1.equalsIgnoreCase(str2)){
			System.out.println("ok");
		}
		
	}
	public void show(){
		System.out.println("Oke");
	}
}
